<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.13"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>OpenMesh: OpenMesh::VDPM::VHierarchy Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
<link href="logo_align.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="rwth_vci_rgb.jpg"/></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">OpenMesh
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.13 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('a03109.html','');});
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#pub-types">Public Types</a> &#124;
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="a03106.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">OpenMesh::VDPM::VHierarchy Class Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>Keeps the vertex hierarchy build during analyzing a progressive mesh.  
 <a href="a03109.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="a00776_source.html">OpenMesh/Tools/VDPM/VHierarchy.hh</a>&gt;</code></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-types"></a>
Public Types</h2></td></tr>
<tr class="memitem:a658560e57bc2e1e7aca6ab477e1d0a33"><td class="memItemLeft" align="right" valign="top"><a id="a658560e57bc2e1e7aca6ab477e1d0a33"></a>
typedef unsigned int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03109.html#a658560e57bc2e1e7aca6ab477e1d0a33">id_t</a></td></tr>
<tr class="memdesc:a658560e57bc2e1e7aca6ab477e1d0a33"><td class="mdescLeft">&#160;</td><td class="mdescRight">Type for tree and node ids. <br /></td></tr>
<tr class="separator:a658560e57bc2e1e7aca6ab477e1d0a33"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:af23a26e8217a42f5295a389316563284"><td class="memItemLeft" align="right" valign="top"><a id="af23a26e8217a42f5295a389316563284"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>clear</b> ()</td></tr>
<tr class="separator:af23a26e8217a42f5295a389316563284"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a77ccf8e1d91980bb3f503971d47b8713"><td class="memItemLeft" align="right" valign="top"><a id="a77ccf8e1d91980bb3f503971d47b8713"></a>
unsigned char&#160;</td><td class="memItemRight" valign="bottom"><b>tree_id_bits</b> () const</td></tr>
<tr class="separator:a77ccf8e1d91980bb3f503971d47b8713"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a57dd852fccf2158024753a59814aee66"><td class="memItemLeft" align="right" valign="top"><a id="a57dd852fccf2158024753a59814aee66"></a>
unsigned int&#160;</td><td class="memItemRight" valign="bottom"><b>num_roots</b> () const</td></tr>
<tr class="separator:a57dd852fccf2158024753a59814aee66"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a96af9b14ebcc1a15b786531765debf7e"><td class="memItemLeft" align="right" valign="top"><a id="a96af9b14ebcc1a15b786531765debf7e"></a>
size_t&#160;</td><td class="memItemRight" valign="bottom"><b>num_nodes</b> () const</td></tr>
<tr class="separator:a96af9b14ebcc1a15b786531765debf7e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aee1b70a708ebe6cad091963326f95de6"><td class="memItemLeft" align="right" valign="top"><a id="aee1b70a708ebe6cad091963326f95de6"></a>
<a class="el" href="a03121.html">VHierarchyNodeIndex</a>&#160;</td><td class="memItemRight" valign="bottom"><b>generate_node_index</b> (<a class="el" href="a03109.html#a658560e57bc2e1e7aca6ab477e1d0a33">id_t</a> _tree_id, <a class="el" href="a03109.html#a658560e57bc2e1e7aca6ab477e1d0a33">id_t</a> _node_id)</td></tr>
<tr class="separator:aee1b70a708ebe6cad091963326f95de6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1f98f02dcb1b481b6b94f5478aedaeb6"><td class="memItemLeft" align="right" valign="top"><a id="a1f98f02dcb1b481b6b94f5478aedaeb6"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>set_num_roots</b> (unsigned int _n_roots)</td></tr>
<tr class="separator:a1f98f02dcb1b481b6b94f5478aedaeb6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a30c11a1e95ab945fe66d0b7c70616332"><td class="memItemLeft" align="right" valign="top"><a id="a30c11a1e95ab945fe66d0b7c70616332"></a>
<a class="el" href="a03113.html">VHierarchyNodeHandle</a>&#160;</td><td class="memItemRight" valign="bottom"><b>root_handle</b> (unsigned int i) const</td></tr>
<tr class="separator:a30c11a1e95ab945fe66d0b7c70616332"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aaa3258749f3e6a35770570f831cd5752"><td class="memItemLeft" align="right" valign="top"><a id="aaa3258749f3e6a35770570f831cd5752"></a>
const <a class="el" href="a03117.html">VHierarchyNode</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><b>node</b> (<a class="el" href="a03113.html">VHierarchyNodeHandle</a> _vhierarchynode_handle) const</td></tr>
<tr class="separator:aaa3258749f3e6a35770570f831cd5752"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7e9982b04be83b556741b8f4b2f59c34"><td class="memItemLeft" align="right" valign="top"><a id="a7e9982b04be83b556741b8f4b2f59c34"></a>
<a class="el" href="a03117.html">VHierarchyNode</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><b>node</b> (<a class="el" href="a03113.html">VHierarchyNodeHandle</a> _vhierarchynode_handle)</td></tr>
<tr class="separator:a7e9982b04be83b556741b8f4b2f59c34"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9969274052b4493fc306f7a7fd651c25"><td class="memItemLeft" align="right" valign="top"><a id="a9969274052b4493fc306f7a7fd651c25"></a>
<a class="el" href="a03113.html">VHierarchyNodeHandle</a>&#160;</td><td class="memItemRight" valign="bottom"><b>add_node</b> ()</td></tr>
<tr class="separator:a9969274052b4493fc306f7a7fd651c25"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a556acd3076d7a65a9e84b9fe4fe4d01e"><td class="memItemLeft" align="right" valign="top"><a id="a556acd3076d7a65a9e84b9fe4fe4d01e"></a>
<a class="el" href="a03113.html">VHierarchyNodeHandle</a>&#160;</td><td class="memItemRight" valign="bottom"><b>add_node</b> (const <a class="el" href="a03117.html">VHierarchyNode</a> &amp;_node)</td></tr>
<tr class="separator:a556acd3076d7a65a9e84b9fe4fe4d01e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a125144867494d4ace17a7a5fd8238bdb"><td class="memItemLeft" align="right" valign="top"><a id="a125144867494d4ace17a7a5fd8238bdb"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>make_children</b> (<a class="el" href="a03113.html">VHierarchyNodeHandle</a> &amp;_parent_handle)</td></tr>
<tr class="separator:a125144867494d4ace17a7a5fd8238bdb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a63807533cde586837a9ee1c548fdee45"><td class="memItemLeft" align="right" valign="top"><a id="a63807533cde586837a9ee1c548fdee45"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><b>is_ancestor</b> (<a class="el" href="a03121.html">VHierarchyNodeIndex</a> _ancestor_index, <a class="el" href="a03121.html">VHierarchyNodeIndex</a> _descendent_index)</td></tr>
<tr class="separator:a63807533cde586837a9ee1c548fdee45"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a90fbff84092c754562ab7d25f3c66caf"><td class="memItemLeft" align="right" valign="top"><a id="a90fbff84092c754562ab7d25f3c66caf"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><b>is_leaf_node</b> (<a class="el" href="a03113.html">VHierarchyNodeHandle</a> _node_handle)</td></tr>
<tr class="separator:a90fbff84092c754562ab7d25f3c66caf"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0e22e4b758789775a9f88b7f01be1f2f"><td class="memItemLeft" align="right" valign="top"><a id="a0e22e4b758789775a9f88b7f01be1f2f"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><b>is_root_node</b> (<a class="el" href="a03113.html">VHierarchyNodeHandle</a> _node_handle)</td></tr>
<tr class="separator:a0e22e4b758789775a9f88b7f01be1f2f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a75cd1a30c1bb493b31982220589b7df1"><td class="memItemLeft" align="right" valign="top"><a id="a75cd1a30c1bb493b31982220589b7df1"></a>
const <a class="el" href="a01233.html#aeb4e43a28974a16e6131fd93eef1ebfe">OpenMesh::Vec3f</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><b>normal</b> (<a class="el" href="a03113.html">VHierarchyNodeHandle</a> _node_handle) const</td></tr>
<tr class="separator:a75cd1a30c1bb493b31982220589b7df1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a249b758a2b7f1f776e0a741a5b193790"><td class="memItemLeft" align="right" valign="top"><a id="a249b758a2b7f1f776e0a741a5b193790"></a>
const <a class="el" href="a03121.html">VHierarchyNodeIndex</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><b>node_index</b> (<a class="el" href="a03113.html">VHierarchyNodeHandle</a> _node_handle) const</td></tr>
<tr class="separator:a249b758a2b7f1f776e0a741a5b193790"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1131bfc0b30db0837561c58bf9b48f12"><td class="memItemLeft" align="right" valign="top"><a id="a1131bfc0b30db0837561c58bf9b48f12"></a>
<a class="el" href="a03121.html">VHierarchyNodeIndex</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><b>node_index</b> (<a class="el" href="a03113.html">VHierarchyNodeHandle</a> _node_handle)</td></tr>
<tr class="separator:a1131bfc0b30db0837561c58bf9b48f12"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7dc8c9d5c5bf95602d585620b88af878"><td class="memItemLeft" align="right" valign="top"><a id="a7dc8c9d5c5bf95602d585620b88af878"></a>
const <a class="el" href="a03121.html">VHierarchyNodeIndex</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><b>fund_lcut_index</b> (<a class="el" href="a03113.html">VHierarchyNodeHandle</a> _node_handle) const</td></tr>
<tr class="separator:a7dc8c9d5c5bf95602d585620b88af878"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a755a0ab6fde56e5ded7c7343ccc1679b"><td class="memItemLeft" align="right" valign="top"><a id="a755a0ab6fde56e5ded7c7343ccc1679b"></a>
<a class="el" href="a03121.html">VHierarchyNodeIndex</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><b>fund_lcut_index</b> (<a class="el" href="a03113.html">VHierarchyNodeHandle</a> _node_handle)</td></tr>
<tr class="separator:a755a0ab6fde56e5ded7c7343ccc1679b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aaee090e1aa275806c44001f9f53657b5"><td class="memItemLeft" align="right" valign="top"><a id="aaee090e1aa275806c44001f9f53657b5"></a>
const <a class="el" href="a03121.html">VHierarchyNodeIndex</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><b>fund_rcut_index</b> (<a class="el" href="a03113.html">VHierarchyNodeHandle</a> _node_handle) const</td></tr>
<tr class="separator:aaee090e1aa275806c44001f9f53657b5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aca2c5f9c30fd8ae33b5c0f82b48534c1"><td class="memItemLeft" align="right" valign="top"><a id="aca2c5f9c30fd8ae33b5c0f82b48534c1"></a>
<a class="el" href="a03121.html">VHierarchyNodeIndex</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><b>fund_rcut_index</b> (<a class="el" href="a03113.html">VHierarchyNodeHandle</a> _node_handle)</td></tr>
<tr class="separator:aca2c5f9c30fd8ae33b5c0f82b48534c1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aed22de691df75f2ddf37f3f76326ca1d"><td class="memItemLeft" align="right" valign="top"><a id="aed22de691df75f2ddf37f3f76326ca1d"></a>
<a class="el" href="a02241.html">VertexHandle</a>&#160;</td><td class="memItemRight" valign="bottom"><b>vertex_handle</b> (<a class="el" href="a03113.html">VHierarchyNodeHandle</a> _node_handle)</td></tr>
<tr class="separator:aed22de691df75f2ddf37f3f76326ca1d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a24a68be8436674f53b0c284e4866c5d1"><td class="memItemLeft" align="right" valign="top"><a id="a24a68be8436674f53b0c284e4866c5d1"></a>
<a class="el" href="a03113.html">VHierarchyNodeHandle</a>&#160;</td><td class="memItemRight" valign="bottom"><b>parent_handle</b> (<a class="el" href="a03113.html">VHierarchyNodeHandle</a> _node_handle)</td></tr>
<tr class="separator:a24a68be8436674f53b0c284e4866c5d1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad9a1b429c0cec100078910a01fb8c8f7"><td class="memItemLeft" align="right" valign="top"><a id="ad9a1b429c0cec100078910a01fb8c8f7"></a>
<a class="el" href="a03113.html">VHierarchyNodeHandle</a>&#160;</td><td class="memItemRight" valign="bottom"><b>lchild_handle</b> (<a class="el" href="a03113.html">VHierarchyNodeHandle</a> _node_handle)</td></tr>
<tr class="separator:ad9a1b429c0cec100078910a01fb8c8f7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a590cef7d2155ee32370145d41180995f"><td class="memItemLeft" align="right" valign="top"><a id="a590cef7d2155ee32370145d41180995f"></a>
<a class="el" href="a03113.html">VHierarchyNodeHandle</a>&#160;</td><td class="memItemRight" valign="bottom"><b>rchild_handle</b> (<a class="el" href="a03113.html">VHierarchyNodeHandle</a> _node_handle)</td></tr>
<tr class="separator:a590cef7d2155ee32370145d41180995f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3b745254284dd25860de0ed823ed42f9"><td class="memItemLeft" align="right" valign="top"><a id="a3b745254284dd25860de0ed823ed42f9"></a>
<a class="el" href="a03113.html">VHierarchyNodeHandle</a>&#160;</td><td class="memItemRight" valign="bottom"><b>node_handle</b> (<a class="el" href="a03121.html">VHierarchyNodeIndex</a> _node_index)</td></tr>
<tr class="separator:a3b745254284dd25860de0ed823ed42f9"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>Keeps the vertex hierarchy build during analyzing a progressive mesh. </p>
</div><hr/>The documentation for this class was generated from the following files:<ul>
<li>OpenMesh/Tools/VDPM/<a class="el" href="a00776_source.html">VHierarchy.hh</a></li>
<li>OpenMesh/Tools/VDPM/VHierarchy.cc</li>
</ul>
</div><!-- contents -->
</div><!-- doc-content -->
<hr>
<address>
<small>
<a href="http://www.rwth-graphics.de" style="text-decoration:none;">
</a>
Project <b>OpenMesh</b>, 
&copy;&nbsp; Computer Graphics Group, RWTH Aachen.
Documentation generated using 
<a class="el" href="http://www.doxygen.org/index.html">
<b>doxygen</b>
</a>.
</small>
</address>
</body>
</html>
